﻿
@{
    Layout = "~/Views/Shared/_UserLayout.cshtml";
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Home</title>
    <link href="~/Content/layui.css" rel="stylesheet" />
    <link href="~/Content/global.css" rel="stylesheet" />
</head>
<body>
    <div class="fly-home fly-panel" style="background-image: url();">
        <img src="@Session["head_img"]" alt="">
        <h1>
            @ViewBag.usrDto.Name
            @{
                string man = "<i class=\"iconfont icon-nan\"></i>";
                string woman = "<i class=\"iconfont icon-nv\"></i>";
                if (ViewBag.usrDto.Gender == true)
                {
                    @Html.Raw(man);
                }
                else
                {
                    @Html.Raw(woman);
                }
            }
        </h1>
        <p class="fly-home-info">
            <i class="iconfont icon-shijian"></i><span>@ViewBag.usrDto.JoinTime 加入</span>
            <i class="iconfont icon-chengshi"></i><span>来自 @ViewBag.usrDto.Address</span>
        </p>
        <p class="fly-home-sign">（@ViewBag.usrDto.Signature）</p>

    </div>

    <div class="layui-container">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12 fly-home-jie">
                <div class="fly-panel">
                    <h3 class="fly-panel-title">@ViewBag.usrDto.Name 最近的发帖</h3>
                    <ul class="jie-row">
                        <li>
                            <a href="" class="jie-title"> 广州中医药大学小知识</a>
                            <i>2021-10-30</i>
                        </li>
                        <li>
                            <a href="" class="jie-title"> 广州中医药大学小知识</a>
                            <i>2021-10-30</i>
                        </li>
                        <!-- <div class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;"><i style="font-size:14px;">没有发表任何求解</i></div> -->
                    </ul>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
